package com.cdd.goods.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.GoodsSpecification;
import com.common.entity.GoodsType;
import com.common.untils.CommonResult;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzl
 * @since 2022-09-01
 */
public interface IGoodsTypeService {

    CommonResult selectAll(Integer currentPage,Integer pageSize,GoodsType goodsType);

    CommonResult delectGoodsType(Integer id);

    CommonResult updateGoodsType(GoodsType goodsType);

    CommonResult insertType(@RequestBody GoodsType goodsType);

    CommonResult select();

}
